package com.wtwd.device.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author zdl
 * @Description
 * @create 2021-08-05 14:50
 */
@ApiModel("登录")
public class LoginVO {

    @ApiModelProperty(value = "用户ID")
    private long userId;

    @ApiModelProperty(value = "认证令牌")
    private String token;

    @ApiModelProperty(value = "令牌过期时间")
    private long expireTime;

    @ApiModelProperty(value = "是否第一次登录")
    private boolean isFirst;

    @ApiModelProperty(value = "移动推送key")
    private String pushKey;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(long expireTime) {
        this.expireTime = expireTime;
    }

    public boolean getIsFirst() {
        return isFirst;
    }

    public void setIsFirst(boolean first) {
        isFirst = first;
    }

    public String getPushKey() {
        return pushKey;
    }

    public void setPushKey(String pushKey) {
        this.pushKey = pushKey;
    }
}
